]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appMenu: Add heading to windows section
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 11 Feb 2019 18:55:42 +0000 (19:55 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Wed, 17 Apr 2019 19:23:23 +0000 (19:23 +0000)
It may not be immediately obvious that the windows section is a
list of open application windows, as titles like "Downloads" can
easily be confused with an action. Add a section heading to avoid
confusion.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/968

js/ui/panel.js

index aaf9f7b99cd6c9c86061aa6b72436900eaabdd92..629fc4299604e72dd6a3b18f195beb5ec47be0a5 100644 (file)
@@ -75,6 +75,9 @@ class AppMenu extends PopupMenu.PopupMenu {
 
         this._windowsChangedId = 0;
 
+        /* Translators: This is the heading of a list of open windows */
+        this.addMenuItem(new PopupMenu.PopupSeparatorMenuItem(_("Open Windows")));
+
         this._windowSection = new PopupMenu.PopupMenuSection();
         this.addMenuItem(this._windowSection);